package com.smart.common.utils.redis.redistask;

import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;

/**
 * 异步任务执行线程池
 * @author zhouwc
 *
 */
public class RedisThreadPoolManager {
	
//	private static ExecutorService executorService = Executors.newFixedThreadPool(100);
	private static ExecutorService executorService = Executors.newSingleThreadExecutor();
	
	public static void execRedisTask(Runnable task) {
		
		executorService.execute(task);
		
	}

}
